//
// Created by REEJI2219 on 2024-08-12.
//

#ifndef STACK_H
#define STACK_H
#include <iostream>
using namespace std;
typedef int ElemType;
class Stack {
private:
    int base;
    int top;
    int max_size;
    ElemType * array;
public:
    Stack();
    ~Stack();
    bool push(ElemType elem);
    bool length(int *length);
    bool pop(ElemType *elem);
    bool pirntStatck();
    bool isEmpty();
};

#endif //STACK_H
